<?php if (!defined('THINK_PATH')) exit(); /*a:2:{s:79:"D:\PhpStudy\PHPTutorial\WWW\03seo7mb.net\public/../app/admin\view\seo\bulu.html";i:1566956291;s:92:"D:\PhpStudy\PHPTutorial\WWW\03seo7mb.net\public/../app/admin\view\layout\edit_btn_group.html";i:1562986698;}*/ ?>
<form action="<?php echo url(); ?>" method="post" class="form_single">
    <div class="box">
      <div class="box-body">
        <div class="row">

          <div class="col-md-6">
            <div class="form-group">
              <label>补录关键词</label>
              <span class="">（补录关键词）<span style="color: red;">*补录排名，等于补扣费用，直接添加到消费记录，扣除用户余额</span></span>
              <input class="form-control"  disabled  value="<?php echo (isset($info['keywords']) && ($info['keywords'] !== '')?$info['keywords']:''); ?>" type="text">
                <input type="hidden" name="keyword_id" value="<?php echo tp_encrypt($info['id']); ?>">
            </div>
          </div>




            <div class="col-md-6">
                <div class="form-group">
                    <label>补录搜索引擎</label>
                    <div>
                        <select class="form-control" disabled style="width: 200px;" >
                            <option value="">请选择搜索引擎</option>
                            <option value="baidupc" <?php if($info['search_engine'] == 'baidupc'): ?> selected = "selected" <?php endif; ?> >百度电脑端</option>
                            <option value="baidumobile" <?php if($info['search_engine'] == 'baidumobile'): ?> selected = "selected" <?php endif; ?> >百度移动端</option>
                            <option value="360pc" <?php if($info['search_engine'] == '360pc'): ?> selected = "selected" <?php endif; ?> >360电脑端</option>
                            <option value="360mobile" <?php if($info['search_engine'] == '360mobile'): ?> selected = "selected" <?php endif; ?> >360移动端</option>
                            <option value="sougoupc" <?php if($info['search_engine'] == 'sogoupc'): ?> selected = "selected" <?php endif; ?> >搜狗电脑端</option>
                            <option value="sougoumobile" <?php if(input('search_engine') == 'sogoumobile'): ?> selected = "selected" <?php endif; ?> >搜狗移动端</option>
                            <option value="smmobile" <?php if(input('search_engine') == 'smmobile'): ?> selected = "selected" <?php endif; ?> >神马搜索</option>

                        </select>
                    </div>
                    <input type="hidden" name="search_engine" value="<?php echo $info['search_engine']; ?>">
                </div>
            </div>




            <div class="col-md-6">
                <div class="form-group">
                    <label>排名</label>
                    <span class="">（补录排名）</span>
                    <input class="form-control" name="rand" placeholder="排名" value="" type="number">
                </div>
            </div>

            <div class="col-md-6">
                <div class="form-group">
                    <label>选择页数</label>
                    <select name="page" class="form-control"  >
                        <option value="">请选页数</option>
                        <option value="1"  >第一页</option>
                        <option value="2"  >第二页</option>
                    </select>
                </div>
            </div>
 <input type="hidden" name="url" value="<?php echo $url; ?>">
            <div class="col-md-6">
                <div class="form-group">
                    <label>补录时间</label>
                    <span class="">（补录时间）</span>
                    <input class="form-control" id="test" name="create_time" placeholder="请选择补录时间"  value="" type="text">
                </div>
            </div>

          <div class="col-md-12">
            <div class="form-group">
                <label>排名图片</label>
                <span class="">（请上传单张排名截图）</span>
                <br/>
                <?php $cover_id = (isset($info['cover_id']) && ($info['cover_id'] !== '')?$info['cover_id']:'0'); ?>
                <?php echo widget('file/index', ['name' => 'cover_id', 'value' => $cover_id, 'type' => 'img']); ?>
            </div>
          </div>

            
          </div>

        
      <div class="box-footer">
        
        <button  type="submit" class="btn ladda-button ajax-post" data-style="slide-up" target-form="form_single">
    <span class="ladda-label"><i class="fa fa-send"></i> 确 定</span>
</button>

<a class="btn" onclick="javascript:history.back(-1);return false;"><i class="fa fa-history"></i> 返 回</a>
        
      </div>
        
      </div>
      </div>
</form>

<script>
    laydate.render({
        elem: '#test'
        ,type: 'datetime'
    });

</script>